const USER_TYPE = {
  admin: "管理员",
  seller: "销售",
  deliveryOperator: "物流操作员",
  deliverySupplier: "物流供应商",
  materialSupplier: "物料供应商"
};

const ORDER_STATUS = {
  "-3": "已退款",
  "-2": "已退货",
  "-1": "退款中",
  "1": "待付款",
  "2": "已付款",
  "3": "已发货",
  "4": "已收货",
  "5": "已评价"
};

const PAY_TYPE = {
  cash: "现金支付",
  alipay: "支付宝支付",
  wechat: "微信支付",
  bankCard: "银行卡支付"
};

const MESSAGE_STATUS = {
  "1": "待处理",
  "2": "已处理"
};

const ITEM_STATUS = {
  "0": "已下架",
  "1": "已上架"
};

const DELIVERY_CODE = {
  "zhongtong": "中通",
  "shunfeng": "顺丰",
  "shentong": "申通",
  "yuantong": "圆通",
  "huitongkuaidi": "汇通",
  "yunda": "韵达",
  "tiantian": "天天",
}

const EXCEL_TITLE_CNY = [
  // excel中文表头
  'PI单号',
  '客户编码',
  '销售部门',
  '业务员',
  '客户国家',
  '客户交货日期',
  '贸易条款',
  '起运港',
  '物料代码',
  '物料名称',
  '客户货号',
  'PI箱数',
  'PI数量',
  'PI销售单价',
  'PI销售币别',
  'PI卖出汇率',
  '当前系统汇率',
  'PI金额',
  'PI折扣后金额',
  'PI订单利润',
  '体积',
  '审核状态',
  '订单状态',
  '出库状态',
  'PO单号',
  'PO工厂币别',
  'PO制单日期',
  '工厂交货日期',
  '工厂入库日',
  '采购员',
  '工厂编码',
  '工厂名称',
  '工厂货号',
  'PO箱数',
  'PO数量',
  'PO最终单价',
  'PO金额',
  '未出货数量',
  '未出货箱数',
  '未出货金额',
  '未出货折扣后金额',
  '未出货采购成本',
  '预计货好日期',
  '货期备注',
  '更新后开船日期',
  'PI客户收款条件',
  'PI客户收款信用账期',
  'PI收款日期',
  'PI收款金额RMB',
  'PO采购付款条件',
  'PO采购信用账期',
  'PO付款日期',
  'PO付款金额',
]

const EXCEL_TITLE_ENG = [
  'receiptNumber',
  'saleNumber',
  'month',
  'shipman',
  'loadingAt',
  'customerService',
  'CY',
  'bargeEtd',
  'shipEtd',
  'ETA',
  'bookingNumber',
  'customClearanceAt',
  'documentAt',
  'number',
  'cabinetType',
  'shipPort',
  'shipCompany',
  'cabinetNumber',
  'sealNumber',
  'licensePlate',
  'driverMobile',
  'localFreightForward',
  'scheduleRemark',
  'seaFee',
  'trailerFee',
  'customClearanceFee',
  'billingFee',
  'changeOrderFee',
  'arkFee',
  'scanFee',
  'arivalFee',
  'retreat',
  'overheadFee',
  'otherFee',
  'totalFee',
  'originCertificateType',
  'originCertificateFee',
  'receiveDnAt',
  'shipPortFee',
  'money',
  'foreignFreightForward',
  'shipPortAt',
  'payAt',
  'boatDay',
  'ladingAt',
  'Cabinet',
  'receiveDeliveryNumber',
  'receiptRemark',
  'deliveryFee',
  'billingAt',
  'uploadAt',
  'deliveryNumber',
  'deliveryFee',
  'payType',
  'invoicePrice',
  'creditNumber',
  'creditTerm',
  'term',
  'userId',
  // excel英文表头
]

export default {
  PAY_TYPE,
  ORDER_STATUS,
  USER_TYPE,
  MESSAGE_STATUS,
  ITEM_STATUS,
  DELIVERY_CODE,
  EXCEL_TITLE_CNY,
  EXCEL_TITLE_ENG,
}
